package com.atguigu.reflect.entity;

public class Tiger extends Cat<Integer> {

    private int tigerAge;
    private String tigerName;
    private double tigerSalary;

    public String tigerSchoolName = "atguigu";
    public int tigerSchoolAge = 13;

    public Tiger(int tigerAge, String tigerName, double tigerSalary) {
        this.tigerAge = tigerAge;
        this.tigerName = tigerName;
        this.tigerSalary = tigerSalary;
    }

    public Tiger() {
        System.out.println("tiger 无参构造器");
    }

    private Tiger(int tigerAge, String tigerName) {
        this.tigerAge = tigerAge;
        this.tigerName = tigerName;
    }

    public int getTigerAge() {
        return tigerAge;
    }

    public void setTigerAge(int tigerAge) {
        this.tigerAge = tigerAge;
    }

    public String getTigerName() {
        return tigerName;
    }

    public void setTigerName(String tigerName) {
        this.tigerName = tigerName;
    }

    public double getTigerSalary() {
        return tigerSalary;
    }

    public void setTigerSalary(double tigerSalary) {
        this.tigerSalary = tigerSalary;
    }

    @Override
    public String toString() {
        return "Tiger{" +
                "tigerAge=" + tigerAge +
                ", tigerName='" + tigerName + '\'' +
                ", tigerSalary=" + tigerSalary +
                ", tigerSchoolName='" + tigerSchoolName + '\'' +
                ", tigerSchoolAge=" + tigerSchoolAge +
                '}';
    }

    public static void showName() {
        System.out.println("I am not a tiger ~~~");
    }

    class BabyTiger {

    }
}
